package com.qike.baoxiu.mapper;

import com.qike.baoxiu.pojo.*;
import com.qike.baoxiu.vo.ScoreCountVo;

import java.util.List;

public interface BaoxiuOrderMapper {
    int deleteByExample(BaoxiuOrderExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BaoxiuOrderWithBLOBs record);

    int insertSelective(BaoxiuOrderWithBLOBs record);

    List<BaoxiuOrderWithBLOBs> selectByExampleWithBLOBs(BaoxiuOrderExample example);
    List<BaoxiuOrderWithBLOBs> selectByExampleWithBLOBs2(CountPojo CountPojo);

    List<BaoxiuOrder> selectByExample(BaoxiuOrderExample example);

    List<SelectByCountVo> selectByCount(CountPojo CountPojo);

    List<AvgTimeVo> selectAvgResponseByCount(CountPojo CountPojo);

    List<AvgTimeVo> selectAvgFinishByCount(CountPojo CountPojo);

    List<SelectFromByCountVo> selectFromByCount(BaoxiuOrderExample example);
    List<ScoreCountVo> selectScoreByCount(BaoxiuOrderExample example);

    BaoxiuOrderWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BaoxiuOrderWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(BaoxiuOrderWithBLOBs record);

    int updateByPrimaryKey(BaoxiuOrder record);
}